﻿using Furion.DatabaseAccessor;
using HYHY_Core.Entities.Utils;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HYQY_Core.Entities.Advertising
{
    /// <summary>
    /// 广告实体
    /// </summary>
    public class Advertising : BaseEntities
    {
        /// <summary>
        /// id
        /// </summary>
        public string Aid { get; set; }

        /// <summary>
        /// 图片路径
        /// </summary>
        public string Path { get; set; }

        /// <summary>
        /// 广告类型<br/>
        /// 轮播图：1<br/>
        /// </summary>
        public int Type { get; set; }

        /// <summary>
        /// 是否启用
        /// </summary>
        public bool IsEnable { get; set; }

        /// <summary>
        /// 广告展示位置
        /// </summary>
        public string ShowLocation { get; set; }

        /// <summary>
        /// 类型标题
        /// </summary>
        public string Title { get; set; }

        /// <summary>
        /// 开始时间
        /// </summary>
        public DateTime BeginTime { get; set; }

        /// <summary>
        /// 结束时间
        /// </summary>
        public DateTime EndTime { get; set; }
    }
}
